import moment from 'moment';

export const getYear = ts => {
  return moment.unix(ts).format('YYYY');
};

export const getMonthHyphenDay = ts => {
  return moment.unix(ts).format('MM-DD');
};
